<!DOCTYPE html>
<html>

	<head>
		<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../css/iuapmobile.um.css">
		<link rel="stylesheet" href="../../css/font-icons.css">
		<link rel="stylesheet" href="../../css/iscroll.css" />
		<style>
			#bdef17_dummy,
			#acceptance_state_dummy,
			#notthrough_type_dummy {
				border: none;
				padding-left: 10px;
				color: #555;
				font-size: 17px;
				text-align: right;
				width: 100%;
			}
			
			#bdef17_dummy:disabled,
			#acceptance_state_dummy:disabled,
			#notthrough_type_dummy:disabled {
				background: #fff;
			}
			
		</style>

		<script src="../../js/summer.js"></script>
		<script src="../../js/jquery.min.js"></script>
		<script src="../../js/Frameworks/iuapmobile.frameworks.ui.js"></script>
		<script src="../../js/iscroll.js"></script>
		<script src="../../js/angular.min.js"></script>
	</head>
	<body class="f14" ng-app="myApp" ng-controller="myCtrl" ng-init="
		azwb_qgimage='../../img/myimg/camera.png';
		azys_phxljrdimage='../../img/myimg/camera.png';
		azys_jjimage='../../img/myimg/camera.png';
		azys_mtimage='../../img/myimg/camera.png';
		azys_yjimage='../../img/myimg/camera.png';
		azys_dwjgysbimage='../../img/myimg/camera.png';
		bdef18='../../img/myimg/camera.png';
	">
		<div class="um-page" id="AnZhuangYanShouDetail">
			<div class="um-header">
				<h3>拆机验收详情</h3>
				<a href="#" class="um-back back">返回</a>
			</div>

			<div class="um-content">

				<ul class="um-list">
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									验收次数
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.acceptance_times}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									拓展踩点门头照
								</div>
								<div class="um-list-item-right">
									<img id="mtz1" ng-model="data.mtz1" ng-src="{{data.mtz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程安装门头照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_mtimage" ng-model="data.azwb_mtimage" ng-src="{{data.azwb_mtimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									拓展踩点远景照
								</div>
								<div class="um-list-item-right">
									<img id="yjz1" ng-model="data.yjz1" ng-src="{{data.yjz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程安装远景照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_yjimage" ng-model="data.azwb_yjimage" ng-src="{{data.azwb_yjimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									拓展踩点近景照
								</div>
								<div class="um-list-item-right">
									<img id="jjz1" ng-model="data.jjz1" ng-src="{{data.jjz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程安装近景照
								</div>
								<div class="um-list-item-right">
									<img id="azwb_jjimage" ng-model="data.azwb_jjimage" ng-src="{{data.azwb_jjimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<!--<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机位置照片
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjwzimage1" ng-model="data.azwb_sxjwzimage1" ng-src="{{data.azwb_sxjwzimage1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机位置照片2
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjwzimage2" ng-model="data.azwb_sxjwzimage2" ng-src="{{data.azwb_sxjwzimage2}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机位置照片3
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjwzimage3" ng-model="data.azwb_sxjwzimage3" ng-src="{{data.azwb_sxjwzimage3}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>-->
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									取电位置
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_qdwz}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									取电位置照片
								</div>
								<div class="um-list-item-right">
									<img id="azwb_qdwzimage" ng-model="data.azwb_qdwzimage" ng-src="{{data.azwb_qdwzimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									网络接入点照片
								</div>
								<div class="um-list-item-right">
									<img id="azwb_wljrdimage" ng-model="data.azwb_wljrdimage" ng-src="{{data.azwb_wljrdimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									安装日期
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.install_date}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									安装时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.installation_time}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									安装状态
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.complete_state == 'Y' ?'是':'否'}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									设备编号
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.equipment_no}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									MAC地址
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.mac}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									ESN编号
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.esn}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									商家经营名称
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sjjymc1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									商家经营地址
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sjjydz1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									经度
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.jd1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									纬度
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.wd1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									店面负责人
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.dmfzr1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									联系方式
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.lxfs1}}</span>
								</div>
							</div>
						</div>
					</li>
					<!--
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									经营类型
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.jylx1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					-->
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									经营面积
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.jymj1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									所属商圈
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sssq1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									所属环线
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sshx1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									是否联网
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sflw1 == "Y"?"是":"否"}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									省
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.shen1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									市
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.shi1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									区
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.qu1_name}}</span>
								</div>
							</div>
						</div>
					</li>

					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									全景照
								</div>
								<div class="um-list-item-right">
									<img id="qjz1" ng-model="data.qjz1" ng-src="{{data.qjz1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									开店时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.kdsj1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									闭店时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.bdsj1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									设备类型
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sblx1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									设备数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sbsl1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									安装方式
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azfs1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sxjsl1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									派工日期
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.pgrq1.substring(0,10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									派工时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.pgsj1.substring(10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									要求竣工日期
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.yqjgrq1}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									施工单位
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.sgdw1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									工程主管
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.gczg1_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									是否签证
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.visa_whether == 'Y'?'是':'否'}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									签证类型
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.visa_type_name}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									签证数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.visa_num}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									签证照片
								</div>
								<div class="um-list-item-right">
									<img id="visa_image" ng-model="data.visa_image" ng-src="{{data.visa_image}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<!--<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机电源数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_sxjsl}}</span>
								</div>
							</div>
						</div>
					</li>-->
					<!--
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机电源照片1
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjdyimage1" ng-model="data.azwb_sxjdyimage1" ng-src="{{data.azwb_sxjdyimage1}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机电源照片2
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjdyimage2" ng-model="data.azwb_sxjdyimage2" ng-src="{{data.azwb_sxjdyimage2}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机电源照片3
								</div>
								<div class="um-list-item-right">
									<img id="azwb_sxjdyimage3" ng-model="data.azwb_sxjdyimage3" ng-src="{{data.azwb_sxjdyimage3}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					-->
					<!--<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									交换机数量
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_jhjsl}}</span>
								</div>
							</div>
						</div>
					</li>-->
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									时控开机时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_kjtime.substring(10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									时控关机时间
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_gjtime.substring(10)}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									外网接入
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_wwjr}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									内网接入
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_nwjr}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机（含支架）
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_sxj}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									摄像机电源
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_sxjdy}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									线上保险座（含保险管）
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_xsbxz}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									POE分离器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.poe}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									开关电源
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_kgdy}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									漏电空开
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_ldkk}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									交换机
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_jhj}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									交换机箱
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_jx}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									插排
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_cp}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									二次继电器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_ecjdq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									有线路由器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_yxlyq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									无线路由器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_wxlyq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									路由器盒
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_lyqh}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									时间控制器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_sjkzq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									电力猫
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_dlm}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									电力猫盒
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_dlmh}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									3G网卡
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.a3g}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									光纤收发器
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_gqsfq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									光纤熔纤盒
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.azwb_gqsrqh}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									光纤Modem
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.modem_gq}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									ADSL Modem
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.modem_adsl}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									竣工图
								</div>
								<div class="um-list-item-right">
									<img id="azwb_qgimage" ng-model="data.azwb_qgimage" ng-src="{{data.azwb_qgimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									加急类型
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.jjlx1 == "N"?"否":"是"}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									资产编号
								</div>
								<div class="um-list-item-right">
									<span class="form-control tr">{{data.equipment_no}}</span>
								</div>
							</div>
						</div>
					</li>
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									屏后线缆接入点
								</div>
								<div class="um-list-item-right">
									<img id="azwb_phxljrdimage" ng-model="data.azwb_phxljrdimage" ng-src="{{data.azwb_phxljrdimage}}" class="h50 p5 lookimg" />
								</div>
							</div>
						</div>
					</li>
				</ul>

			</div>

			<div class="um-footer">
				<a href="#indexyes" id="indexyesJup" style="display: none;"></a>
				<button class="btns" onclick="next()">
					验收结果填写
				</button>
			</div>
		</div>

		<div class="um-page" id="indexyes">
			<div class="um-header">
				<h3>验收结果</h3>
				<a href="#" class="um-back">返回</a>
				<a href="#" class="um-header-right menu">暂存 </a>
			</div>

			<div class="um-content">
				<ul class="um-list">
					<li>
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>验收状态
								</div>
								<div class="um-list-item-right">
									<select id='acceptance_state' ng-model="acceptance_state" class="select">
										<option ng-repeat="x in acceptance_state_child" value="{{x.pk_doc}}">{{x.doc_name}}</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="bhg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未通过类型
								</div>
								<div class="um-list-item-right">
									<select id='notthrough_type' ng-model="notthrough_type" class="select">
										<option value="工艺不符">工艺不符</option>
										<option value="未安装完成">未安装完成</option>
										<option value="点位不符">点位不符</option>
										<option value="信息填写错误">信息填写错误</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="wlys">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未能验收说明
								</div>
								<div class="um-list-item-right">
									<select id='bdef17' ng-model="bdef17" class="select">
										<option value="已拆机">已拆机</option>
										<option value="商店关门">商店关门</option>
									</select>
								</div>
							</div>
						</div>
					</li>
					<li class="wlys">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未能验收照片
								</div>
								<div class="um-list-item-right">
									<img id="bdef18" ng-model="bdef18" onclick="openCamera(this)" ng-src="{{bdef18}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="bhg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>未通过说明
								</div>
								<div class="um-list-item-right">
									<input type="text" ng-model="not_passed" class="form-control tr" placeholder="请输入">
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>门头照
								</div>
								<div class="um-list-item-right">
									<img id="azys_mtimage" ng-model="azys_mtimage" onclick="openCamera(this)" ng-src="{{azys_mtimage}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>远景照
								</div>
								<div class="um-list-item-right">
									<img id="azys_yjimage" ng-model="azys_yjimage" onclick="openCamera(this)" ng-src="{{azys_yjimage}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>近景照
								</div>
								<div class="um-list-item-right">
									<img id="azys_jjimage" ng-model="azys_jjimage" onclick="openCamera(this)" ng-src="{{azys_jjimage}}" class="h50 p5 camera" />
								</div>
							</div>
						</div>
					</li>
					<!--<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>单位工程竣工验收表
								</div>
								<div class="um-list-item-right">
									<img id="azys_dwjgysbimage" ng-model="azys_dwjgysbimage" onclick="openCamera(this)" ng-src="{{azys_dwjgysbimage}}" class="h50 p5" />
								</div>
							</div>
						</div>
					</li>-->
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>点击中屏,主机顶部晃动小于5mm
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_zjdbhd" ng-checked="azys_zjdbhd"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>屏外观无损伤
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_pwgwss" ng-checked="azys_pwgwss"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                              </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>穿管、布线是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_bxsfhtyq" ng-checked="azys_bxsfhtyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                              	</label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>透明厨房图像是否卡顿
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_txsfkd" ng-checked="azys_txsfkd"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>相关照片是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_tpsfhtyq" ng-checked="azys_tpsfhtyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>接线、取电是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sfhtyq" ng-checked="azys_sfhtyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机支架是否牢固
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sxjsfng" ng-checked="azys_sxjsfng"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>摄像机是否固
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sxjsfg" ng-checked="azys_sxjsfg"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>管线是否美观
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_gxsfmg" ng-checked="azys_gxsfmg"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>辅助设备安装是否符合要求
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_fzsbazsffhyq" ng-checked="azys_fzsbazsffhyq"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                               </label>
								</div>
							</div>
						</div>
					</li>
					<li class="hg">
						<div class="um-list-item">
							<div class="um-list-item-inner">
								<div class="um-list-item-left pl5">
									<span class="um-red">*</span>设备网络是否在线
								</div>
								<div class="um-list-item-right">
									<label class="um-switch2 um-box-vc ">
	                                	<input type="checkbox" class="um-switch2" ng-model="azys_sbwxsfzx" ng-checked="azys_sbwxsfzx"/>
	                                	<span class="um-switch2-check" data-on-text="是" data-off-text="否"  style="margin-right: 0px; "></span>
	                              </label>
								</div>
							</div>
						</div>
					</li>
				</ul>
			</div>

			<div class="um-footer">
				<button class="btns" onclick="submits()">
					验收提交
				</button>
			</div>
		</div>

		<script>
			var angularScope; //angla 对象
			var pageParam; //页面参数
			var pagexq; //单据详情
			var app = angular.module('myApp', []);
			app.controller('myCtrl', function($scope, $http) {
				angularScope = $scope;
			});
			summerready = function() {
				/*pageParam = summer.pageParam;
				//pageParam = {"bodyid":"1001ZZ10000000010JLD","businessId":"170309","dispatchDate":"2017-03-09 00:00:00","dispatchTime":"2017-03-09 15:53:08","engineeringSupervisor":"洪晋接单人","expressType":"N","pointId":"170309-1","requiredCompletionDate":"","status":"5"}

				bindYanShouZhuangTai();
				//必填验证
				var userinfo = summer.getStorage("userinfo");
				doPost(
					adressHead.IInstallationImpl, "getAcceptanceCheckDetail", {
						dataParm: {
							empId: userinfo.empId,
							bodyid: pageParam.bodyid, //施工编号
							pointId: pageParam.pointId //点位编号
						}
					},
					function(jsons) {
						pagexq = jsons.data;
						angularScope.data = jsons.data;
						angularScope.data.azwb_mtimage = (!!!angularScope.data.azwb_mtimage) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_mtimage;
						angularScope.data.azwb_yjimage = (!!!angularScope.data.azwb_yjimage) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_yjimage;
						angularScope.data.azwb_jjimage = (!!!angularScope.data.azwb_jjimage) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_jjimage;
						angularScope.data.azwb_sxjwzimage3 = (!!!angularScope.data.azwb_sxjwzimage3) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_sxjwzimage3;
						angularScope.data.azwb_sxjwzimage1 = (!!!angularScope.data.azwb_sxjwzimage1) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_sxjwzimage1;
						angularScope.data.azwb_sxjwzimage2 = (!!!angularScope.data.azwb_sxjwzimage2) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_sxjwzimage2;
						angularScope.data.azwb_qdwzimage = (!!!angularScope.data.azwb_qdwzimage) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_qdwzimage;
						angularScope.data.azwb_wljrdimage = (!!!angularScope.data.azwb_wljrdimage) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_wljrdimage;
						angularScope.data.azys_dwjgysbimage = (!!!angularScope.data.azys_dwjgysbimage) ? "" : "data:image/jpeg;base64," + jsons.data.azys_dwjgysbimage;
						angularScope.data.mtz1 = (!!!angularScope.data.mtz1) ? "" : "data:image/jpeg;base64," + jsons.data.mtz1;
						angularScope.data.yjz1 = (!!!angularScope.data.yjz1) ? "" : "data:image/jpeg;base64," + jsons.data.yjz1;
						angularScope.data.jjz1 = (!!!angularScope.data.jjz1) ? "" : "data:image/jpeg;base64," + jsons.data.jjz1;
						angularScope.data.qjz1 = (!!!angularScope.data.qjz1) ? "" : "data:image/jpeg;base64," + jsons.data.qjz1;
						angularScope.data.visa_image = (!!!angularScope.data.visa_image) ? "" : "data:image/jpeg;base64," + jsons.data.visa_image;
						angularScope.data.azwb_sxjdyimage1 = (!!!angularScope.data.azwb_sxjdyimage1) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_sxjdyimage1;
						angularScope.data.azwb_sxjdyimage2 = (!!!angularScope.data.azwb_sxjdyimage2) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_sxjdyimage2;
						angularScope.data.azwb_sxjdyimage3 = (!!!angularScope.data.azwb_sxjdyimage3) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_sxjdyimage3;
						angularScope.data.azwb_qgimage = (!!!angularScope.data.azwb_qgimage) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_qgimage;
						angularScope.data.azwb_phxljrdimage = (!!!angularScope.data.azwb_phxljrdimage) ? "" : "data:image/jpeg;base64," + jsons.data.azwb_phxljrdimage;

						//////////////////暂存
						angularScope.billcode = "";
						if(angularScope.data.acceptance_state) {
							angularScope.acceptance_state = (!angularScope.data.acceptance_state) ? "" : angularScope.data.acceptance_state;
							angularScope.$apply();
							$("#acceptance_state").trigger("change");
							$("#acceptance_state_dummy").val($("#acceptance_state option[value='" + angularScope.data.acceptance_state + "']").text());
						} else {
							$("#acceptance_state_dummy").val("请选择");
						}
						if(angularScope.data.notthrough_type) {
							angularScope.notthrough_type = (!angularScope.data.notthrough_type) ? "" : angularScope.data.notthrough_type
							$("#notthrough_type_dummy").val($("#notthrough_type option[value='" + angularScope.data.notthrough_type + "']").text());
						} else {
							$("#notthrough_type_dummy").val("请选择");
						}
						angularScope.not_passed = (!angularScope.data.not_passed) ? "" : angularScope.data.not_passed;
						if(angularScope.data.azys_mtimage) {
							angularScope.azys_mtimage = (!angularScope.data.azys_mtimage) ? "" : angularScope.data.azys_mtimage;
							imgs["azys_mtimage"] = "data:image/jpeg;base64," + (!angularScope.data.azys_mtimage) ? "" : angularScope.data.azys_mtimage;
						}

						if(angularScope.data.azys_yjimage) {
							angularScope.azys_yjimage = (!angularScope.data.azys_yjimage) ? "" : angularScope.data.azys_yjimage;
							imgs["azys_yjimage"] = "data:image/jpeg;base64," + (!angularScope.data.azys_yjimage) ? "" : angularScope.data.azys_yjimage;
						}
						if(angularScope.data.azys_jjimage) {
							angularScope.azys_jjimage = (!angularScope.data.azys_jjimage) ? "" : angularScope.data.azys_jjimage;
							imgs["azys_jjimage"] = "data:image/jpeg;base64," + (!angularScope.data.azys_jjimage) ? "" : angularScope.data.azys_jjimage;
						}
						if(angularScope.data.azys_dwjgysbimage) {
							angularScope.azys_dwjgysbimage = (!angularScope.data.azys_dwjgysbimage) ? "" : angularScope.data.azys_dwjgysbimage;
							imgs["azys_dwjgysbimage"] = "data:image/jpeg;base64," + (!angularScope.data.azys_dwjgysbimage) ? "" : angularScope.data.azys_dwjgysbimage;
						}

						if(angularScope.data.bdef17) {
							angularScope.bdef17 = (!angularScope.data.bdef17) ? "" : angularScope.data.bdef17
							$("#bdef17_dummy").val($("#bdef17 option[value='" + angularScope.data.bdef17 + "']").text());
						} else {
							$("#bdef17_dummy").val("请选择");
						}
						if(angularScope.data.bdef18) {
							angularScope.bdef18 = (!angularScope.data.bdef18) ? "" : angularScope.data.bdef18;
							imgs["bdef18"] = "data:image/jpeg;base64," + (!angularScope.data.bdef18) ? "" : angularScope.data.bdef18;
						}
						angularScope.azys_zjdbhd = (angularScope.data.azys_zjdbhd == "Y") ? true : false;
						angularScope.azys_pwgwss = (angularScope.data.azys_pwgwss == "Y") ? true : false;
						angularScope.azys_bxsfhtyq = (angularScope.data.azys_bxsfhtyq == "Y") ? true : false;
						angularScope.azys_txsfkd = (angularScope.data.azys_txsfkd == "Y") ? true : false;
						angularScope.azys_tpsfhtyq = (angularScope.data.azys_tpsfhtyq == "Y") ? true : false;
						angularScope.azys_sfhtyq = (angularScope.data.azys_sfhtyq == "Y") ? true : false;
						angularScope.azys_sxjsfng = (angularScope.data.azys_sxjsfng == "Y") ? true : false;
						angularScope.azys_sxjsfg = (angularScope.data.azys_sxjsfg == "Y") ? true : false;
						angularScope.azys_gxsfmg = (angularScope.data.azys_gxsfmg == "Y") ? true : false;
						angularScope.azys_fzsbazsffhyq = (angularScope.data.azys_fzsbazsffhyq == "Y") ? true : false;
						angularScope.azys_sbwxsfzx = (angularScope.data.azys_sbwxsfzx == "Y") ? true : false;
						angularScope.$apply();
					}
				);*/
			}

			$(document).ready(function() {
				setTimeout(function() {
					$("#acceptance_state_dummy").val("请选择");
					$("#notthrough_type_dummy").val("请选择");
					$("#bdef17_dummy").val("请选择");
				}, 100);
				$(".wlys").hide();
				$(".hg").hide();
				$(".bhg").hide();
			});

			$(function() {
				// var curr = new Date().getFullYear();
				var opt = {
					'date': {
						preset: 'date'
					},
					'select': {
						preset: 'select'
					}
				};
				$('.select').scroller('destroy').scroller($.extend(opt['select'], {
					theme: "ios7",
					mode: "scroller",
					display: "bottom",
					animate: ""
				}));
			});

			//相机打开
			var imgs = new Array();

			function openCamera(obj) {
				summer.openCamera({
					compressionRatio: 0.3,
					callback: function(args) {
						UM.showLoadingBar({
							text: "请稍等",
							icons: 'ti-reload',
						});
						//imgPath
						getBase64Image(args.compressImgPath, function(dat) {
							//obj.src = dat;
							obj.src = args.compressImgPath;
							imgs[obj.id] = dat;
							UM.hideLoadingBar();
						});
					}
				});
			}

			function next() {
				//				if(!(getPermissions("app009"))) {
				//					UM.toast({
				//						title: '友情提示：',
				//						text: "无验收填报权限",
				//						duration: 1000
				//					});
				//					return;
				//				}
				$("#indexyesJup").click();
			}

			//绑定验收状态
			function bindYanShouZhuangTai() {
				doPost(adressHead.ISjtzImpl, "getBdDoc", {
					dataParm: {
						dostype: "app013"
					}
				}, function(jsons) {
					angularScope.acceptance_state_child = jsons;
					angularScope.$apply();
					$("#acceptance_state_dummy").val("请选择");
				}, null, true);
			}

			$('.select').change(function() {
				$("#" + $(this).attr("id") + "_dummy").val($(this).find("option:selected").text());
				switch($(this).attr("id")) {
					case "acceptance_state":
						if($(this).find("option:selected").text().indexOf("不合格") != -1) {
							$(".wlys").hide();
							$(".hg").hide();
							$(".bhg").show();
						} else if($(this).find("option:selected").text().indexOf("合格") != -1) {
							$(".wlys").hide();
							$(".bhg").hide();
							$(".hg").show();
						} else {
							$(".bhg").hide();
							$(".hg").hide();
							$(".wlys").show();
						}
						break;
				}
			});

			function submits(boo) {
				/*if(!boo) {
					//必填验证
					if(!angularScope.acceptance_state) {
						toasts("请填写 " + "验收状态");
						return;
					}

					var va = $("#acceptance_state").find("option:selected").text();
					if(va.indexOf("不合格") != -1) {
						if(!angularScope.notthrough_type) {
							toasts("请选择 " + "未通过类型");
							return;
						}
						if(!angularScope.not_passed) {
							toasts("请填写 " + "未通过说明");
							return;
						}
					} else if(va.indexOf("合格") != -1) {
						if(!imgs["azys_mtimage"]) {
							toasts("请填写 " + "门头照");
							return;
						}
						if(!imgs["azys_yjimage"]) {
							toasts("请填写 " + "远景照");
							return;
						}
						if(!imgs["azys_jjimage"]) {
							toasts("请填写 " + "近景照");
							return;
						}
					} else {
						if(!angularScope.bdef17) {
							toasts("请填写 " + "未能验收说明");
							return;
						}
						if(!imgs["bdef18"]) {
							toasts("请填写 " + "未能验收照片");
							return;
						}
					}

					//					if(!angularScope.azys_dwjgysbimage) {
					//						toasts("请填写 " + "单位工程竣工验收表");
					//						return;
					//					}
				}
				var userinfo = summer.getStorage("userinfo");
				doPost(
					adressHead.IInstallationImpl, "AcceptanceRepor", {
						dataParm: {
							acceptance_times: (Number(angularScope.data.acceptance_times) + 1).toString(),
							empId: userinfo.empId,
							bodyid: pageParam.bodyid, //施工编号
							pointId: pageParam.pointId, //点位编号
							install_date: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							installation_time: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							acceptance_date: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							acceptance_time: format(new Date(), 'yyyy-MM-dd HH:mm:ss'),
							acceptance_state: (angularScope.acceptance_state) ? angularScope.acceptance_state : "",
							notthrough_type: (!angularScope.notthrough_type) ? "" : angularScope.notthrough_type,
							not_passed: (!angularScope.not_passed) ? "" : angularScope.not_passed,
							azys_mtimage: imgs["azys_mtimage"] == null ? "" : imgs["azys_mtimage"],
							azys_yjimage: imgs["azys_yjimage"] == null ? "" : imgs["azys_yjimage"],
							azys_jjimage: imgs["azys_jjimage"] == null ? "" : imgs["azys_jjimage"],
							azys_dwjgysbimage: imgs["azys_dwjgysbimage"] == null ? "" : imgs["azys_dwjgysbimage"],
							azys_zjdbhd: (angularScope.azys_zjdbhd) ? "Y" : "N",
							azys_pwgwss: (angularScope.azys_pwgwss) ? "Y" : "N",
							azys_bxsfhtyq: (angularScope.azys_bxsfhtyq) ? "Y" : "N",
							azys_txsfkd: (angularScope.azys_txsfkd) ? "Y" : "N",
							azys_tpsfhtyq: (angularScope.azys_tpsfhtyq) ? "Y" : "N",
							azys_sfhtyq: (angularScope.azys_sfhtyq) ? "Y" : "N",
							azys_sxjsfng: (angularScope.azys_sxjsfng) ? "Y" : "N",
							azys_sxjsfg: (angularScope.azys_sxjsfg) ? "Y" : "N",
							azys_gxsfmg: (angularScope.azys_gxsfmg) ? "Y" : "N",
							azys_fzsbazsffhyq: (angularScope.azys_fzsbazsffhyq) ? "Y" : "N",
							azys_sbwxsfzx: (angularScope.azys_sbwxsfzx) ? "Y" : "N",
							azwb_phxljrdimage: imgs["azwb_phxljrdimage"] == null ? "" : imgs["azwb_phxljrdimage"],
							is_temporary: boo ? "Y" : "N",
							billcode: boo ? angularScope.billcode : "",
							bdef17: (!angularScope.bdef17) ? "" : angularScope.bdef17,
							bdef18: (!imgs["bdef18"]) ? "" : imgs["bdef18"],
						}
					},
					function(jsons) {
						if(jsons.result == 1) {
							if(boo) {
								toasts("暂存成功");
								angularScope.billcode = jsons.vbillcode; //暂存号
								angularScope.$apply();
							} else {
								toasts("提交成功");
								setTimeout(function() {
									summer.execScript({
										winId: 'AnZhuangYanShouList',
										script: "rebind()"
									});
									summer.closeWin();
								}, 1000);
							}
						} else {
							toasts("提示：" + jsons.msg);
						}
					}
				);*/
				toasts("提示：成功");
			}

			$('.menu').on('click', function() {
				submits(true);
			})
		</script>
		</body>

</html>
<script src="../../js/Myjs/Common.js"></script>